package cloud.config.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;

@SpringBootApplication // 相当于@Configuration、@EnableAutoConfiguration、@ComponentScan
@EnableConfigServer // 激活该应用为Config Server
@EnableDiscoveryClient // 让该应用使用Eureka Server
public class ConfigServerApplication {

	public static void main(String[] args) {
		SpringApplication.run(ConfigServerApplication.class, args);
	}

}
